<?php
defined('IN_TS') or die('Access Denied.');

$userid = intval($TS_USER['user']['userid']);

//用户信息

$talkid = intval($_GET['talkid']);

if($userid == '0'){
	qiMsg('请登陆后再发表内容^_^','点击登陆',SITE_URL.'index.php?app=user&ac=login');
}elseif($talkNum == '0'){
	echo '1';return false; //坏蛋加笨蛋的你是永远不能得逞滴^_^
}

$title = '发起新话题';

//包含模版
include template("new_talk");